package com.wudizaba.microservicesdemosystem.module.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 工艺表
 * </p>
 *
 * @author wudizaba
 * @since 2024-06-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("produce_craft")
@ApiModel(value="ProduceCraft对象", description="工艺表")
public class ProduceCraft implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "工艺ID")
    @TableId(value = "craft_id", type = IdType.AUTO)
    private Integer craftId;

    @ApiModelProperty(value = "工位ID")
    private String stationId;

    @ApiModelProperty(value = "工艺名称")
    private String craftName;

    @ApiModelProperty(value = "工艺类型")
    private String craftType;

    @ApiModelProperty(value = "工艺描述")
    private String description;

    @ApiModelProperty(value = "工艺状态")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "工艺状态")
    private LocalDateTime updateTime;
}
